<?php


$openid=$_GET['openid'];
$vod_id=$_GET['vod_id'];
$user_name=$_GET['user_name'];
$user_head=$_GET['user_head'];
$user_talk=$_GET['user_talk'];


include 'db.php';/*连接数据库*/



mysql_query("INSERT INTO vod_chat (openid,vod_id,user_name,user_head,user_talk) VALUES ('".$openid."',".$vod_id.",'".$user_name."','".$user_head."','".$user_talk."')");




        //返回值
        $callback = $_GET['callback'];  
        echo "{$callback}({'vod_id':'".$vod_id."'})";  
        exit();  
  







?>